package org.gorkr.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.tomcat.jni.Local;

/**
 * <p>
 * 用户基本信息表
 * </p>
 *
 * @author gorkr
 * @since 2022-08-12
 */
@TableName("t_user_info")
@ApiModel(value = "UserInfo对象", description = "用户基本信息表")
@Data
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("昵称")
    private String nick;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("签名")
    private String sign;

    @ApiModelProperty("性别: 0男 1女 2未知")
    private String gender;

    @ApiModelProperty("生日")
    private String birth;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;


}
